package bma.common.netty.protobuf.core.impl;

import java.io.InputStream;

import bma.common.netty.protobuf.core.BaseProtos.PHeader;
import bma.common.netty.protobuf.core.PResponseContext;

public class PResponseContextImpl implements PResponseContext {

	protected PHeader header;
	protected InputStream inputStream;

	public PResponseContextImpl(PHeader header, InputStream inputStream) {
		super();
		this.header = header;
		this.inputStream = inputStream;
	}

	@Override
	public InputStream getInputStream() {
		return inputStream;
	}

	@Override
	public PHeader getHeader() {
		return header;
	}

}
